<template>
    <div class="loading">
        <div>
            <i class="fa fa-spinner fa-pulse"></i>
            <span class="loading-text">加载中...</span>
        </div>
    </div>
</template>

<style scoped>
.loading {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading i {
    font-size: 20px;
}
.loading-text {
    font-size: 16px;
    padding: 0 10px;
    line-height: 20px;
}
</style>